package com.taotao.job.trigger.route.strategy;


import com.taotao.job.core.trigger.context.TriggerContext;
import com.taotao.job.trigger.route.ExecutorRouter;

import java.util.List;

/**
 * 第一个
 *
 * @author fanbeibei
 * @version 1.0
 * @date 2021/2/3 17:05
 */
public class ExecutorRouteFirst implements ExecutorRouter {
    @Override
    public String route(TriggerContext context, List<String> addressList) {
        return addressList.get(0);
    }
}
